package com.h2210c.user.fenig;

import com.jiyun.model.Catalog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("day09Catalog")
public interface FeignCatalog {

    @RequestMapping("catalog/catalogbycid")
    public List<Catalog> catalogbycid(@RequestParam("id") Integer id);
}
